<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<LINK REL="stylesheet" HREF="../../templates/css/style.css" TYPE="text/css">
<LINK rel="stylesheet" href="../../templates/css/dialog.css" type="text/css">
<script language="javascript" src="../../templates/js/tab.js"></script>
<script language="javascript" type="text/javascript" src="{base_ipurl}lib/cate.js"></script>
<script language="javascript" type="text/javascript">
<!--
  var oTabs = new Object() ;
  
  function check_form()
  {
    obj = document.add_news.ch_headline;
	if( obj.value == "")
	{
	   alert("請至少輸入新聞標題");
	   SetSelectedTab("chinese");
	   return false;
	}
	obj_form = document.add_news;
	obj_form.cate_id.value = cur_value;
	obj.submit;
  } //End fun
  function init_cate()
  {
     {init_cate}
  }  
function AddMoreRow() 
{ 
    var oRow=event.srcElement.parentNode.parentNode; 
    var oTable=oRow.parentNode.parentNode; 
    oNewRow=oTable.insertRow(); 
    for(i=0;i<oRow.cells.length;i++) 
    { 
        oNewRow.insertCell().innerHTML=oRow.cells[i].innerHTML; 
    } 
    oRow.all("DelBtn").disabled=false; 
    oNewRow.all("DelBtn").disabled=false; 
} 
function DeleteMoreRow() 
{ 
    var oRow=event.srcElement.parentNode.parentNode; 
    var oTable=oRow.parentNode.parentNode; 
   if(oTable.rows.length>1) 
    { 
        oTable.deleteRow(oRow.rowIndex); 
        if(oTable.rows.length==1) 
        { 
           oTable.all("DelBtn").disabled=true; 
        } 
    } 
} 
function DisabledKeyInput() 
{ 
    if(event.keyCode!=8&&event.keyCode!=46) 
    { 
        event.returnValue=false; 
    } 
} 


//多圖片上传代码
function add_inp(){ 
	newInp = document.createElement("input") 
	newInp.setAttribute("type","file") 
	newInp.setAttribute("name","upfile[]") 
	div1.appendChild(newInp) 
	newInp = document.createElement("br") 
	div1.appendChild(newInp) 
} 
function del_inp(){ 
	childlen=div1.childNodes.length 
	childlen-- 
	div1.removeChild(div1.childNodes[childlen]) 
	childlen-- 
	div1.removeChild(div1.childNodes[childlen]) 
} 
//-->
</script>
<table width="98%" border="0" class="table2">
  <tr>
    <td>管理中心 - 內容配置 - 賀成交設置</td>
  </tr>
</table>
<form method="post" name="add_news" action="./modules/update_cj.php" onsubmit="return check_form()" enctype="multipart/form-data" >
<table cellpadding=0 cellspacing=3 width=98% align="center" style="border:1px solid #A5ADC4">	  
<tr id="chinese">
<th colspan="2">
<table width="100%" border="0" cellspacing="2" cellpadding="4">
  <tr>
    <th width="13%" align="right">賀成交一: </th>
    <td width="88%"><input name="hou_id1" type="text" value="{hou_id1}" size="40" maxlength="30" readonly="readonly" /> &nbsp;房屋的房屋編號</td>
  </tr>
  <tr>
	<th align="right" valign="top">賀成交二:</th>
	<td><input name="hou_id2" type="text" value="{hou_id2}" size="40" maxlength="30" readonly="readonly"  /> &nbsp;房屋的房屋編號</td>
  </tr>
  
    <tr>
	<th align="right" valign="top">賀成交三:</th>
	<td><input name="hou_id3" type="text" value="{hou_id3}" size="40" maxlength="30" readonly="readonly"  /> &nbsp;房屋的房屋編號</td>
  </tr>
  
  <td colspan="2"><div align="left" style="padding-left:150px">
 <!-- <input type="hidden" name="id" value="{id}" />
  <input name="btn_sub" type="submit" id="btn_sub" value="確 定" class="bot" />
  <input name="reset" type="reset" id="reset" value="重 填" class="bot" />-->
    </div></td>
  </tr>
  </table></th>
</tr>
<!--英文-->
<!--
<tr id="english">
<th colspan="2">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
  <td width="13%" align="right" ><b>英文标题: </b></td>
  <td width="88%"><input name="en_headline" type="text" value="{en_headline}" /></td>
</tr>
<tr>
	<th width="13%" align="right">英文来源:</th>
	<td width="88%"><input name="en_source" type="text" id="ZH" value="{en_source}" /></td>
</tr>
<tr>
	<th align="right" valign="top">英文内容:</th>
	<td>{ENGLISH_EDIT}</td>
</tr>
   <td colspan="2"><div align="center">
  <input type="hidden" name="cate_id" value="" /><input type="hidden" name="news_id" value="{news_id}" />
  <input name="btn_sub" type="submit" id="btn_sub" value="确 定" class="bot" />
  <input name="reset" type="reset" id="reset" value="重 填" class="bot" />
  <input name="btn_ret" type="button" id="btn_ret" value="返 回" onclick="location.href='?action=news'" class="bot" />
    </div></td>
  </tr>
  </table>
  </th>
</tr>-->
 </table>
</form>

<script type="text/javascript" language="javascript">
<!--
   init_cate();
//-->
<!--   
   AddTab("chinese", '活動編輯', false );
   //AddTab("english", '英文资料', false ); 
   SetSelectedTab("chinese");
//-->
</script>
